package {
	import controller.service.ContentLoader;
	
	import flash.events.Event;
	
	import model.ModelLocator;
	
	import subumbo.micro.controller.Analytics;
	import subumbo.micro.controller.Application;
	import subumbo.micro.controller.ClassExtractor;

	public class HelloMicro extends Application
	{
		override protected function added(e:Event):void
		{
			super.added(e);
			
			Analytics.instance.init(stage, "UA-10813498-2", false);
			//Analytics.instance.trackPage("Hello Micro Compiled"); // 2nd line added for personal tracking purposes ;)
			
			initView(ClassExtractor.extractMC("BG"), ClassExtractor.extractMC("Container"));
			initModel(new ModelLocator());
			
			new ContentLoader("xml/content.xml");
		}
		
		
		
		
		
	}
}
